home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / FredFish PD 304.adf / IRA / ira.doc < prev    next >
Text File  |  1990-01-10  |  2KB  |  65 lines

  1.                           IRA Calculator
  2.                            by Joel Swank
  3.                          September 27 1989
  4.  
  5.  
  6.     The IRA calculator allows easy calculation of future values of
  7. investment. It opens a Workbench window with 5 gadgets. You enter
  8. four values into the four string gadgets. "Balance" is the beginning
  9. investment value. "Interest" is the annual percentage rate earned by 
  10. the investment. "Deposit" is the ammount of new capital added to the 
  11. investment each year. "Years" is the number of years to accumulate
  12. the investment. When all data is correct, click the "Calculate" gadget.
  13. The new balance will be put back into the "Balance" gadget. You can
  14. do many years in one calculation, or just do 1 year at a time, changing
  15. the data each time.
  16.     The Menu provides save and load items to store the data in a file.
  17. There is also a help screen item and an item to print the current data.
  18. IRA may be  run from the workbench icon or from the CLI. It accepts
  19. parameters from the command line or from the tooltypes array of the icon.
  20.  
  21. CLI calling format:
  22.  
  23.     >ira -w -bnnnnn.nn -ann.nnn -dnnnn.nn -ynn filename
  24.  
  25. The PARAMETERS:
  26.  
  27. WB: BALANCE=nnnnn.nn
  28. CLI: -bnnnnn.nn
  29.     The beginning balance of the investment.
  30.  
  31. WB: INTEREST=nnn.nnn
  32. CLI: -ann.nnn
  33.     The annual interest rate in percent.
  34.  
  35. WB: DEPOSIT=nnnnn.nn
  36. CLI: -dnnnn.nn
  37.     The ammount of new capital added to the investment each year.
  38.  
  39. WB: YEARS=nn
  40. CLI: -ynn
  41.     The duration of the investment in whole years.
  42.  
  43. WB: FILE=filename
  44. CLI: filename
  45.     A file containing the above data. Created by the SAVE menu item.
  46.  
  47.  
  48. FILE Format:
  49.     The data file created by IRA contains one line of ASCII characters.
  50. It contains the four data items separated by commas. The order of the
  51. data is BALANCE, INTEREST, DEPOSIT, YEARS. The first 3 are floating
  52. point numbers and may contain a decimal point. The last must be an
  53. integer.
  54.  
  55.  
  56. LIMITS:
  57.  
  58. BALANCE must be greater than 0.
  59.  
  60. INTEREST must be less than 99.0 and greater than 0.
  61.  
  62. DEPOSIT must be posative.
  63.  
  64. YEARS must be greater than 0.
  65.